package com.zcxy.edu.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zcxy.common.annotation.Excel;
import com.zcxy.common.core.domain.BaseEntity;

/**
 * 发送短信配置对象 edu_all_sms
 * 
 * @author ruoyi
 * @date 2024-11-02
 */
public class EduAllSms extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 类型 1 短信 2 APP */
    @Excel(name = "类型 1 短信 2 APP")
    private String type;

    /**  */
    @Excel(name = "")
    private String content;

    /** 发送成功数量 */
    @Excel(name = "发送成功数量")
    private Long successNum;

    /** 发送失败数量 */
    @Excel(name = "发送失败数量")
    private Long failNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setSuccessNum(Long successNum) 
    {
        this.successNum = successNum;
    }

    public Long getSuccessNum() 
    {
        return successNum;
    }
    public void setFailNum(Long failNum) 
    {
        this.failNum = failNum;
    }

    public Long getFailNum() 
    {
        return failNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("content", getContent())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("successNum", getSuccessNum())
            .append("failNum", getFailNum())
            .toString();
    }
}
